home *** CD-ROM | disk | FTP | other *** search
Wrap
TTTTIIIIFFFFFFFFBBBBUUUUFFFFFFFFEEEERRRR((((3333TTTT)))) IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll TTTTIIIIFFFFFFFFBBBBUUUUFFFFFFFFEEEERRRR((((3333TTTT)))) NNNNAAAAMMMMEEEE TIFFReadBufferSetup, TIFFWriteBufferSetup - I/O buffering control routines SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS ####iiiinnnncccclllluuuuddddeeee <<<<ttttiiiiffffffffiiiioooo....hhhh>>>> iiiinnnntttt TTTTIIIIFFFFFFFFRRRReeeeaaaaddddBBBBuuuuffffffffeeeerrrrSSSSeeeettttuuuupppp((((TTTTIIIIFFFFFFFF****,,,, ttttddddaaaattttaaaa____tttt bbbbuuuuffffffffeeeerrrr,,,, ttttssssiiiizzzzeeee____tttt ssssiiiizzzzeeee))));;;; iiiinnnntttt TTTTIIIIFFFFFFFFWWWWrrrriiiitttteeeeBBBBuuuuffffffffeeeerrrrSSSSeeeettttuuuupppp((((TTTTIIIIFFFFFFFF****,,,, ttttddddaaaattttaaaa____tttt bbbbuuuuffffffffeeeerrrr,,,, ttttssssiiiizzzzeeee____tttt ssssiiiizzzzeeee))));;;; DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN The following routines are provided for client-control of the I/O buffers used by the library. Applications need never use these routines; they are provided only for ``intelligent clients'' that wish to optimize memory usage and/or eliminate potential copy operations that can occur when working with images that have data stored without compression. _T_I_F_F_R_e_a_d_B_u_f_f_e_r_S_e_t_u_p sets up the data buffer used to read raw (encoded) data from a file. If the specified pointer is NULL (zero), then a buffer of the appropriate size is allocated. Otherwise the caller must guarantee that the buffer is large enough to hold any individual strip of raw data. _T_I_F_F_R_e_a_d_B_u_f_f_e_r_S_e_t_u_p returns a non-zero value if the setup was successful and zero otherwise. _T_I_F_F_W_r_i_t_e_B_u_f_f_e_r_S_e_t_u_p sets up the data buffer used to write raw (encoded) data to a file. If the specified _s_i_z_e is -1 then the buffer size is selected to hold a complete tile or strip, or at least 8 kilobytes, whichever is greater. If the specified _b_u_f_f_e_r is NULL (zero), then a buffer of the appropriate size is dynamically allocated. _T_I_F_F_W_r_i_t_e_B_u_f_f_e_r_S_e_t_u_p returns a non-zero value if the setup was successful and zero otherwise. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS %%%%ssss:::: NNNNoooo ssssppppaaaacccceeee ffffoooorrrr ddddaaaattttaaaa bbbbuuuuffffffffeeeerrrr aaaatttt ssssccccaaaannnnlllliiiinnnneeee %%%%lllldddd. _T_I_F_F_R_e_a_d_B_u_f_f_e_r_S_e_t_u_p was unable to dynamically allocate space for a data buffer. %%%%ssss:::: NNNNoooo ssssppppaaaacccceeee ffffoooorrrr oooouuuuttttppppuuuutttt bbbbuuuuffffffffeeeerrrr. _T_I_F_F_W_r_i_t_e_B_u_f_f_e_r_S_e_t_u_p was unable to dynamically allocate space for a data buffer. SSSSEEEEEEEE AAAALLLLSSSSOOOO _l_i_b_t_i_f_f(3T) PPPPaaaaggggeeee 1111